As the search engine function has a large number of functional requirements that require search engines in the portal community to improve user experience, there are currently a centralized solution for implementing search engines:
Implement
Find a lot of information about SOLR on the web and find it very incomplete, even in the official wiki.
Based on the SOLR application being researched at this stage, I will share some of my experience.
Today is to say: how to run up.
1 "First
SOLR Research Summary
Development type
Full-Text Search related development
SOLR version
4.2
File contents
This paper introduces the functions and precautions of SOLR, including the following: Setting
Environment construction1, to Apache download SOLR, Address: http://mirrors.hust.edu.cn/apache/lucene/solr/2. Unzip to a directory3. CD into D:\Solr\solr-4.10.3\example4. Execute the server by "Java-jar Startup.jar" SOLR will automatically run on
1. Uploading Data with SOLR Cell using Apache TikaSOLR uses the Apache Tika Engineering code to provide a framework for merging all the different formats of file parsers for SOLR's own parser, such as Apache Pdfbox,apache POI. Through this framework,
1. Writing the configuration file 1) Write Data-config-comment.xml, which describes how to query MySQL data and how to import data into an index. Suppose there is a database called MOOC, which has a table called comment, which represents the
We talked about the basic usage and configuration file of SOLR several times before, and then we started our real code journey.
1) start with a simple program:
Public static void main (string [] ARGs) throws solrserverexception, ioexception,
A total of three parts, the first part SOLR conventional treatment, the second part of the targeted treatment, the former is more general, the latter has limitations. It is important to adjust the parameters and compare the performance according to
Solr learning Summary (4) Solr query parameters, solr Parameters
It will not be involved today. net and database operations, mainly to summarize the Solr query parameters, or that sentence, only the basic content and query syntax of solr are clearly
in the previous article we introduced the full-volume update SOLR index, but when the volume of data is large, frequent updating of the index will consume system performance, if the update frequency is low, it will affect the short-term data
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.